package DBLayer;

import java.util.ArrayList;

import ModelLayer.SaleLine;

public interface IFDBSaleLine {
	public SaleLine getSaleLine(int saleId, int productId,
			boolean retrieveAssociation);

	public int insertSaleLine(SaleLine saleline) throws Exception;

	public ArrayList<SaleLine> getAllSaleLineForSale(int saleId,
			boolean retrieveAssociation);

	public int updateSaleLine(SaleLine saleline);
	public int deleteSalelinesForSale(int saleId);

}
